package cool.mor.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Ivan
 */
@Data
@Entity
@Table(name = "rewards_and_punishment")
public class RewardsAndPunishment implements Serializable {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "rewards_and_punishment_type")
    private String rewardsAndPunishmentType;
    @Column(name = "employee_name")
    private String employeeName;
    @Column(name = "rewards_and_punishment_date")
    private String rewardsAndPunishmentDate;
    @Column(name = "rewards_and_punishment_cause")
    private String rewardsAndPunishmentCause;
    @Column(name = "rewards_and_punishment_score")
    private String rewardsAndPunishmentScore;
    @Column(name = "annex")
    private String annex;
    @Column(name = "employee_id")
    private String employeeId;

}